
package com.shop.cloud.live.common.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 直播返回消息组成
 *
 * @author
 */
@Data
public class LiveMsgItemVO {

    @Schema(description = "消息类型 0.心跳 1.弹幕消息 2.商品讲解状态变更 3.直播间状态变更 4.直播观看人数变更")
    private String msgType;

    @Schema(description = "弹幕消息")
    private String content;

    @Schema(description = "用户昵称")
    private String nickName;

    @Schema(description = "商品id")
    private String spuId;

    @Schema(description = "讲解状态 0未讲解 1讲解中")
    private String explainStatus;

    @Schema(description = "商品名称")
    private String spuName;

    @Schema(description = "商品售价")
    private Long price;

    @Schema(description = "活动价(秒杀、团购活动的商品价格)")
    private Long activityPrice;

    @Schema(description = "商品介绍主图")
    private String pic;

    @Schema(description = "直播间状态 0.未开始 1.直播中 2.已结束 3.暂停中 -1.违规下架")
    private String liveStatus;

    @Schema(description = "直播观看人数")
    private Integer liveUserCount;

    @Schema(description = "用户类型 0.用户 1.主播")
    private String userType;

}
